NET PLAYER CREATED

This command will return the Player Number of a newly created player to the net game.

  Syntax
Return Integer=NET PLAYER CREATED()
  Returns

This command will return the Player Number of a newly created player to the net game

  Description

The Player Number is the Unique ID you can use to initialise a new player in your game data. You do not need to create a new player when you receive this signal as it has already been done for you.

  Example Code
rem Create an EXTRA Player (used rarely)
print "EXTRA PLAYER CREATION"
PlayerNumber = create net player("NPC Player")
print "newly created player ",net player created()
print "EXTRA PLAYER DESTRUCTION"
free net player PlayerNumber
  See also

MULTIPLAYER Commands Menu
Index